// 高德地图实例化

const amapFile = require('amap-wx.js')
const myMap = new amapFile.AMapWX({
  key:'569a09075998c75a9802b0bd9fb46c00'
})

const mapTabbar = [
  {
    type: "car",
    text: "驾车",
    iconPath: "/static/images/car.png",
    selectedIconPath: "/static/images/car-active.png"
  },
  {
    type: "bus",
    text: "公交",
    iconPath: "/static/images/bus.png",
    selectedIconPath: "/static/images/bus-active.png"
  },
  {
    type: "bike",
    text: "骑行",
    iconPath: "/static/images/bike.png",
    selectedIconPath: "/static/images/bike-active.png"
  },
  {
    type:"walk",
    text: "步行",
    iconPath: "/static/images/walk.png",
    selectedIconPath: "/static/images/walk-active.png"
  }
]

module.exports={
  myMap,
  mapTabbar
}